<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf8">
    <title>js</title>


</head>

<body>
    <button onclick="window.open('ceeloConsole:','_self')">
        打开控制器
    </button>
    <button id="playBt">播放视频</button>
    <button id="teamFightBt">团战跳转</button>

</body>
<script type="text/javascript" src="jquery.js"></script>
<script language="JavaScript">
    function open_exe(shellp) {
        try {
            a = new ActiveXObject("wscript.shell");
            a.run(shellp);
        } catch (e) {
            alert('找不到文件"' + shellp + '"(或它的组件之一)。请确定路径和文件名是否正确.')
        }
    }
    $("#playBt").click(function() {
        $.get("http://127.0.0.1:9090/cmd?cmd=playdemo replays/3054488401.dem", function(result, status) {
            console.log('hello')
        });
    });
    $("#teamFightBt").click(function() {
        $.get("http://127.0.0.1:9090/teamfight?startTick=40000", function(result, status) {
            console.log('hello')
        });
    });
</script>

</html>